home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / shell2 / dino2.simulator1.example < prev    next >
Encoding:
Text File  |  1991-03-10  |  2.1 KB  |  52 lines

  1.  
  2. # Copyright, 1990, Regents of the University of Colorado
  3. #  This is a Bourne shell script that sets up the compilation and
  4. #  linking parameters for the iPSC1 simulator.
  5. #
  6. #  There are eight environment variables that are set:
  7. #
  8. #     Dhostccopt -- the options used by the C compiler in compiling
  9. #                   the host file.
  10. #
  11. #     Dhostlnopt -- the options used by the C compiler in linking the
  12. #                   host file.  This is empty in the iPSC2 and i860
  13. #                   examples.
  14. #
  15. #     Dhostlibs  -- the libraries that the linker needs for the host
  16. #                   file.  One of these is the host version of the
  17. #                   DINO library (that one should be first).
  18. #
  19. #     Dnodelinkcmd -- The program used to link any node files.  On the
  20. #                   iPSC1, this is "ld".  On both iPSC2 versions, it
  21. #                   is "cc".
  22. #
  23. #     Dnodeccopt -- the options used by the C compiler in compiling
  24. #                   any node files.
  25. #
  26. #     Dhostlnopt -- the options used by the C compiler in linking any
  27. #                   node files.  This is empty in the iPSC2 and i860
  28. #                   examples.
  29. #
  30. #     Dnodemdls  -- Additional ".o" modules that must be linked with
  31. #                   any node files.  These are placed in front of the
  32. #                   ".o" file generated by the node compilation step.
  33. #                   (The iPSC1 requires this, it is empty on both
  34. #                   iPSC2 versions.)
  35. #
  36. #     Dnodelibs  -- the libraries that the linker needs for any node
  37. #                   files.  One of these is the node version of the
  38. #                   DINO library (that one should be first).
  39. #
  40.         Dhostccopt="-g"
  41.         Dhostlnopt=
  42.         Dhostlibs="${Dhome}/lib/${ARCHTYPE}/D_hostsim1.a \
  43.                    # put the path for your iPSC1 simulator library here \
  44.                    -lm"
  45.         Dnodelinkcmd=cc
  46.         Dnodeccopt="-g"
  47.         Dnodelnopt=
  48.         Dnodemdls=
  49.         Dnodelibs="${Dhome}/lib/${ARCHTYPE}/D_nodesim1.a \
  50.                    # put the path for your iPSC1 simulator library here \
  51.                    -lm"
  52.